<!doctype html>

<head>
    <meta charset="utf-8" />
    <style>
        textarea {
            display: inline-block;
            width: 400px;
            height: 300px;
            vertical-align: middle;
        }

        button {
            cursor: pointer;
            font-size: 14px;
            color: #FFFFFF;
            line-height: 20px;
            padding: 5px 20px;
            font-size: 14px;
            border-radius: 2px;
            outline: none;
            border: none;
            text-align: center;
            width: 100px;
            height: 30px;
            background: #128BF7
        }
    </style>
</head>

<body>
    <textarea id="old"></textarea>
 
   

    <textarea id="result"></textarea>
        <div style="display: flex;">
            <button id="zhToZh">繁体</button>
            <button id="zhToEn">英</button>
            <button id="zhToFr">法</button>
            <button id="zhToDe">德</button>
            <button id="zhToIt">意大利</button>
            <button id="zhToJp">日</button>
            <button id="zhToKo">韩</button>
            <button id="zhToEs">西班牙</button>
            <button id="zhToPt">葡萄牙</button>
            <button id="zhToId">印尼</button>
        </div>

 
    <hr></hr>
    <p>翻译结果输出到控制台了。按F12查看</p>
    <script src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/FileSaver.js/2014-11-29/FileSaver.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/crypto-js/4.0.0/crypto-js.js"></script>
    <script src="./md5.js"></script>
    <script src="./zh.js"></script>
    
    <script type="text/javascript">
        $("#old").val("")
        $("#old").val(JSON.stringify(zh))
    </script>
    <script src="./index.js"></script>
</body>